<form action="{{ url_for('delete_account') }}" method="POST">
    <button type="submit" onclick="return confirm('Are you sure you want to delete your account?');">Delete Account</button>
</form>